<#assign security=JspTaglibs["/WEB-INF/security.tld"] />
<#macro page_header title='' >
<!-- AUI Framework -->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>${title} - 快聚财运营管理系统</title>
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

    <!-- Favicons -->

    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/assets/images/icons/apple-touch-icon-144-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/images/icons/apple-touch-icon-114-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/images/icons/apple-touch-icon-72-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" href="/assets/images/icons/apple-touch-icon-57-precomposed.png" />
    <link rel="shortcut icon" href="/assets/images/icons/favicon.png" />

    <!--[if lt IE 9]>
    <script src="/assets/js/minified/core/html5shiv.min.js"></script>
    <script src="/assets/js/minified/core/respond.min.js"></script>
    <![endif]-->

    <!-- Fides Admin CSS Core -->

    <link rel="stylesheet" type="text/css" href="/assets/css/minified/aui-production.min.css" />

    <!-- Theme UI -->

    <link id="layout-theme" rel="stylesheet" type="text/css" href="/assets/themes/minified/fides/color-schemes/dark-blue.min.css" />

    <!-- Fides Admin Responsive -->

    <link rel="stylesheet" type="text/css" href="/assets/themes/minified/fides/common.min.css" />
    <link rel="stylesheet" type="text/css" href="/assets/themes/minified/fides/responsive.min.css" />
    <link rel="stylesheet" type="text/css" href="/assets/multiupload/fileupload.css" />

    <!-- Fides Admin JS -->

    <script type="text/javascript" src="/assets/js/minified/aui-production.js"></script>
    <script type="text/javascript" src="/assets/js/messager.js"></script>
    <script type="text/javascript" src="/assets/js/util.js"></script>
    <script type="text/javascript" src="/assets/timeplug/WdatePicker.js"></script>
    <script>
        jQuery(window).load(
                function(){

                    var wait_loading = window.setTimeout( function(){
                                $('#loading').slideUp('fast');
                                jQuery('body').css('overflow','auto');
                            },1000
                    );

                });

    </script>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="overflow: hidden;">
<div id="page-wrapper" class="demo-example">
<div id="page-header" class="clearfix">
<div id="header-logo">
    <a href="javascript:;" class="tooltip-button" data-placement="bottom" title="Close sidebar" id="close-sidebar">
        <i class="glyph-icon icon-caret-left"></i>
    </a>
    <a href="javascript:;" class="tooltip-button hidden" data-placement="bottom" title="Open sidebar" id="rm-close-sidebar">
        <i class="glyph-icon icon-caret-right"></i>
    </a>
    <a href="javascript:;" class="tooltip-button hidden" title="Navigation Menu" id="responsive-open-menu">
        <i class="glyph-icon icon-align-justify"></i>
    </a>
    合家金融运营管理系统
</div>
<div class="user-profile dropdown">
    <a href="javascript:;" title="" class="user-ico clearfix" data-toggle="dropdown">
        <img width="36" src="/assets/images/gravatar.jpg" alt="" />
        <span>我</span>
        <i class="glyph-icon icon-chevron-down"></i>
    </a>
    <ul class="dropdown-menu float-right">
        <li>
            <a href="/j_spring_cas_security_logout" title="">
                <i class="glyph-icon icon-signout font-size-13 mrg5R"></i>
                <span class="font-bold">退出</span>
            </a>
        </li>
    </ul>
</div>

</div><!-- #page-header -->

<div id="page-sidebar" class="scrollable-content">

<div id="sidebar-menu">
<ul>
<li>
    <a href="javascript:;" title="Products">
        <i class="glyph-icon icon-money"></i>
        产品
    </a>
    <ul>
        <@security.authorize url="/products/add">
            <li>
                <a href="/products/add" title="Dashboard panels">
                    <i class="glyph-icon icon-chevron-right"></i>
                    添加产品
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/presell/list">
            <li>
                <a href="/presell/list" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    排期预售
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/products/list">
            <li>
                <a href="/products/list" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    产品列表
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/financialassets">
            <li>
                <a href="/financialassets" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    金融资产
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/products/saleNotify">
            <li>
                <a href="/products/saleNotify" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    产品预售通知
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Users">
        <i class="glyph-icon icon-male"></i>
        统计分析
    </a>
    <ul>
        <@security.authorize url="/stat/reg/0">
            <li>
                <a href="/stat/reg/0" title="用户注册">
                    <i class="glyph-icon icon-chevron-right"></i>
                    用户统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/statall">
            <li>
                <a href="/stat/statall" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    产品统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/inoutstat/0">
            <li>
                <a href="/stat/inoutstat/0" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    收支统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/statpaygate/0">
            <li>
                <a href="/stat/statpaygate/0" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    支付网关统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/inventory">
            <li>
                <a href="/stat/inventory" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    保有量分析
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/salesstatus">
            <li>
                <a href="/stat/salesstatus" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    销售量分析
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/productanalyse">
            <li>
                <a href="/stat/productanalyse" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    产品数据分析
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/stat/websiteanalyse">
            <li>
                <a href="/stat/websiteanalyse" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    网站数据分析
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Setting">
        <i class="glyph-icon icon-bullhorn"></i>
        推广
    </a>
    <ul>
    	<@security.authorize url="/channelstatistic/register">
            <li>
                <a href="/channelstatistic/register">
                    <i class="glyph-icon icon-chevron-right"></i>
                    注册统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/popularizestatistic/popularizes">
            <li>
                <a href="/popularizestatistic/popularizes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    推广统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/channelstatistic/channels">
            <li>
                <a href="/channelstatistic/channels">
                    <i class="glyph-icon icon-chevron-right"></i>
                    渠道统计
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/popularizes">
            <li>
                <a href="/popularizes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    推广
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/popularizecategorys">
            <li>
                <a href="/popularizecategorys">
                    <i class="glyph-icon icon-chevron-right"></i>
                    推广类别
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/channels">
            <li>
                <a href="/channels">
                    <i class="glyph-icon icon-chevron-right"></i>
                    渠道
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Flows">
        <i class="glyph-icon icon-dashboard"></i>
        运营
    </a>
    <ul>
        <@security.authorize url="/saleActivity">
            <li>
                <a href="/saleActivity" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    活动管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/creditoperation/list">
            <li>
                <a href="/creditoperation/list">
                    <i class="glyph-icon icon-chevron-right"></i>
                    积分管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/redpacket/list">
            <li>
                <a href="/redpacket/list" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    红包策略
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/redpacket">
            <li>
                <a href="/redpacket" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    红包发放
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/hejiaredpackets">
            <li>
                <a href="/hejiaredpackets" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    合家红包
                </a>
            </li>
        </@security.authorize>
		<@security.authorize url="/feedbacks">
            <li>
                <a href="/feedbacks" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    用户反馈
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Setting">
        <i class="glyph-icon icon-bullhorn"></i>
        消息公告
    </a>
    <ul>
    	<@security.authorize url="/pushMessage/ios">
            <li>
                <a href="/pushMessage/ios" title="Grid Layouts">
                    <i class="glyph-icon icon-chevron-right"></i>
                    iOS消息推送
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/pushMessage/android">
            <li>
                <a href="/pushMessage/android" title="Helpers">
                    <i class="glyph-icon icon-chevron-right"></i>
                    Android消息推送
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/message/list">
            <li>
                <a href="/message/list">
                    <i class="glyph-icon icon-chevron-right"></i>
                    用户广播消息
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/message/list">
            <li>
                <a href="/personMessage/list">
                    <i class="glyph-icon icon-chevron-right"></i>
                    用户消息
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/setting/announcement/list">
            <li>
                <a href="/setting/announcement/list">
                    <i class="glyph-icon icon-chevron-right"></i>
                    公告
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/announcements">
            <li>
                <a href="/announcements">
                    <i class="glyph-icon icon-chevron-right"></i>
                    新公告
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/sentence">
            <li>
                <a href="/sentence">
                    <i class="glyph-icon icon-chevron-right"></i>
                    每日一句
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Setting">
        <i class="glyph-icon icon-cog"></i>
        设置
    </a>
    <ul>
        <@security.authorize url="/bankmanage/bankmanagelist">
            <li>
                <a href="/bankmanage/bankmanagelist" title="银行管理">
                    <i class="glyph-icon icon-chevron-right"></i>
                    银行管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/bankmaintain/bankmaintainlist">
            <li>
                <a href="/bankmaintain/bankmaintainlist" title="银行维护">
                    <i class="glyph-icon icon-chevron-right"></i>
                    银行维护
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/paygate/paygatelist">
            <li>
                <a href="/paygate/paygatelist" title="支付网关管理">
                    <i class="glyph-icon icon-chevron-right"></i>
                    支付网关管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/setting/setbanner/list">
            <li>
                <a href="/setting/setbanner/list" title="Banner设置">
                    <i class="glyph-icon icon-chevron-right"></i>
                    Banner设置
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/setting/customer/list">
            <li>
                <a href="/setting/customer/list" title="Banner设置">
                    <i class="glyph-icon icon-chevron-right"></i>
                    客服参数设置
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/warning/list">
            <li>
                <a href="/warning/list" title="Banner设置">
                    <i class="glyph-icon icon-chevron-right"></i>
                    交易预警设置
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/custom/list">
            <li>
                <a href="/custom/list" title="Banner设置">
                    <i class="glyph-icon icon-chevron-right"></i>
                    自定义参数设置
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Social boxes">
        <i class="glyph-icon icon-money"></i>
        产品模板
    </a>
    <ul>
        <@security.authorize url="/products/template/list">
            <li>
                <a href="/products/template/list" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    产品模板列表
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/products/template/add">
            <li>
                <a href="/products/template/add" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    添加产品模板
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/product/type/list">
            <li>
                <a href="/product/type/list" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    产品类别列表
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/product/type/add">
            <li>
                <a href="/product/type/add" title="Social boxes">
                    <i class="glyph-icon icon-chevron-right"></i>
                    添加产品类别
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Pages">
        <i class="glyph-icon icon-folder-open"></i>
        页面管理
    </a>
    <ul>
        <@security.authorize url="/page/category/list">
            <li>
                <a href="/page/category/list" title="Grid Layouts">
                    <i class="glyph-icon icon-chevron-right"></i>
                    分类
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/page/template/list">
            <li>
                <a href="/page/template/list" title="Helpers">
                    <i class="glyph-icon icon-chevron-right"></i>
                    模版
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/page/list">
            <li>
                <a href="/page/list" title="Login">
                    <i class="glyph-icon icon-chevron-right"></i>
                    列表
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/popularizes/linkslist">
            <li>
                <a href="/popularizes/linkslist">
                    <i class="glyph-icon icon-chevron-right"></i>
                    友情链接管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/medium/mediumlist">
            <li>
                <a href="/medium/mediumlist">
                    <i class="glyph-icon icon-chevron-right"></i>
                    媒体报道管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/safeguardmedium/safeguardmediumlist">
            <li>
                <a href="/safeguardmedium/safeguardmediumlist">
                    <i class="glyph-icon icon-chevron-right"></i>
                    媒体机构管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/question">
            <li>
                <a href="/question">
                    <i class="glyph-icon icon-chevron-right"></i>
                    常见问题
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/honor">
            <li>
                <a href="/honor">
                    <i class="glyph-icon icon-chevron-right"></i>
                    资质荣誉
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="Pages">
        <i class="glyph-icon icon-comment"></i>
        App管理
    </a>
    <ul>
        <@security.authorize url="/splashscreens">
            <li>
                <a href="/splashscreenschedules" title="Helpers">
                    <i class="glyph-icon icon-chevron-right"></i>
                    App启动画面
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/appVersion/versionlist">
            <li>
                <a href="/appVersion/versionlist" title="Helpers">
                    <i class="glyph-icon icon-chevron-right"></i>
                    App版本管理
                </a>
            </li>
        </@security.authorize>
        <@security.authorize url="/navigation">
            <li>
                <a href="/navigation" title="Helpers">
                    <i class="glyph-icon icon-chevron-right"></i>
                    App底部导航栏
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>
<li>
    <a href="javascript:;" title="日历管理">
        <i class="glyph-icon icon-calendar"></i>
        日历管理
    </a>
    <ul>
        <@security.authorize url="/calendar/statutorydays">
            <li>
                <a href="/calendar/statutorydays">
                    <i class="glyph-icon icon-calendar"></i>
                    节假日和补假
                </a>
            </li>
        </@security.authorize>
    </ul>
</li>

</ul>
<script>

    $(function(){
        // 移除没有二级菜单的一级菜单
        var lis = $('#sidebar-menu > ul > li');
        for(var i = lis.length - 1; i >= 0; i--){
            li = lis[i];
            var a = $(li).find('> a');
            if(a.attr('href') == 'javascript:;'){
                var items = $(li).find('ul > li');
                var length = items.length;
                if(length < 1){
                    $(li).remove();
                }
            }
        }
    });

</script>
</div>

</div><!-- #page-sidebar -->

<div id="page-content">
</#macro>

<#macro page_footer>
</div><!-- #page-content -->
</div><!-- #page-main -->
</div><!-- #page-wrapper -->

</body>
</html>
</#macro>
